package com.cmcc.groupcontacts.firewall.activity.strategy;

import android.widget.Button;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.cmcc.groupcontacts.firewall.activity.BaseActivity;

/**
 * 标题栏显示策略抽象基类
 * 
 * @author 
 * 
 */
public abstract class BaseTitleStrategy {
	protected BaseActivity act;

	public BaseTitleStrategy(BaseActivity act) {
		this.act = act;
	}

	/**
	 * 设置Window样式
	 */
	public abstract void setWindowFeature(int layoutResID);

	/**
	 * 设置标题栏文本
	 */
	public abstract void setTitleText();

	/**
	 * 设置标题栏皮肤样式
	 */
	public abstract void setTitleSkin();

	/**
	 * 获取标题栏布局控件
	 * 
	 * @return
	 */
	public abstract RelativeLayout getTitleLayout();

	/**
	 * 获取标题栏文本控件
	 * 
	 * @return
	 */
	public abstract TextView getTitleTextView();

	/**
	 * 获取标题栏左边布局
	 * 
	 * @return
	 */
	public abstract LinearLayout getLeftLayout();

	/**
	 * 获取标题栏中间布局
	 * 
	 * @return
	 */
	public abstract LinearLayout getCenterLayout();

	/**
	 * 获取标题栏右边布局
	 * 
	 * @return
	 */
	public abstract LinearLayout getRightLayout();

	/**
	 * 创建标题栏默认样式图片按钮
	 * 
	 * @return
	 */
	public abstract ImageButton createImageButton();

	/**
	 * 创建标题栏默认样式按钮
	 * 
	 * @return
	 */
	public abstract Button createButton();
}
